package com.smart_environmental_protection.dao;

import com.smart_environmental_protection.pojo.Point;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PointDao {
    @Select("select * from s_reward")
    List<Point> POINT_LIST();
    @Select("select * from s_reward where id=#{id}")
    Point Points(Integer id);
}
